﻿using System.ComponentModel.DataAnnotations;

namespace Demo02;

public class User
{
    
    
    /// <summary>
    /// 用户名
    /// </summary>
    [Required]
    public  string UserName { get; set; }
    /// <summary>
    /// 密码
    /// </summary>
    public  string UserPwd { get; set; }
}